<?php
print_r($_POST);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
<script language="javascript">
$(function(){
	$("#form1").submit(function(){
		if($("#user_login_name").val()==""){
			alert("用户名没有输入！");
			return(false);
		}
		return(true);
	});
	
});
</script>
<title>注册帐号</title>
<style>
input{
	height:25px;
}

</style>
</head>

<body>
<form id="form1" name="form1" method="post" action="">
  <table width="300" border="1" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td height="40" colspan="2" align="center">注册帐号</td>
    </tr>
    <tr>
      <td width="97" height="40" align="center">用户名称</td>
      <td width="197" height="40" align="center"><input type="text" name="user_login_name" id="user_login_name" /></td>
    </tr>
    <tr>
      <td height="40" align="center">登录密码</td>
      <td height="40" align="center"><input type="text" name="user_login_password" id="user_login_password" /></td>
    </tr>
    <tr>
      <td height="40" align="center">确认密码</td>
      <td height="40" align="center"><input type="text" name="user_login_password2" id="user_login_password2" /></td>
    </tr>
    <tr>
      <td height="40" colspan="2" align="center"><input type="submit" name="button" id="button" value="提交" style="width:100px;" /></td>
    </tr>
  </table>
</form>
</body>
</html>
